package com.borko.healthcare.tapestry.components;

import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.services.Cookies;

import com.borko.healthcare.tapestry.pages.Login;

public class Menu {
	
	@Inject
	private Cookies cookies;
	
	public Object onActionFromLogout() {
		cookies.writeCookieValue("isUserLoged", "false");
		
		return Login.class;
	}

}
